package com.shanghaionstar.report.bean;

/**
 *
 */
public class ClientDTO {

    /**
     * clientID，系统分配
     */
    private String clientID;

    /**
     * clientType，系统分配 ：android，ios，wechat，mweb，web
     */
    private String clientType;

    private String clientVersion;

    private String clientSecretKey;


    public ClientDTO() {
    }

    public ClientDTO(String clientID, String clientType, String clientVersion, String clientSecretKey) {
        this.clientID = clientID;
        this.clientType = clientType;
        this.clientVersion = clientVersion;
        this.clientSecretKey = clientSecretKey;
    }

    public static class ClientBuilder {
        /**
         * clientID，系统分配
         */
        private String clientID;

        /**
         * clientType，系统分配 ：android，ios，wechat，mweb，web
         */
        private String clientType;

        private String clientVersion;

        private String clientSecretKey;

        public ClientBuilder clientID(String clientID) {
            this.clientID = clientID;
            return this;
        }

        public ClientBuilder clientType(String clientType) {
            this.clientType = clientType;
            return this;
        }

        public ClientBuilder clientVersion(String clientVersion) {
            this.clientVersion = clientVersion;
            return this;
        }

        public ClientBuilder clientSecretKey(String clientSecretKey) {
            this.clientSecretKey = clientSecretKey;
            return this;
        }

        public ClientDTO createClientDTO() {
            return new ClientDTO(clientID, clientType, clientVersion, clientSecretKey);
        }
    }

    public String getClientID() {
        return clientID;
    }


    public String getClientType() {
        return clientType;
    }


    public String getClientVersion() {
        return clientVersion;
    }


    public String getClientSecretKey() {
        return clientSecretKey;
    }


    public void setClientID(String clientID) {
        this.clientID = clientID;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public void setClientSecretKey(String clientSecretKey) {
        this.clientSecretKey = clientSecretKey;
    }
}
